<include file="public@header"/>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="#">留言管理</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20">
        <div class="table-actions">
            <!--<button type="submit" class="btn btn-primary btn-sm js-ajax-submit">{:lang('SORT')}</button>-->
        </div>
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="50">ID</th>
                <th>姓名</th>
                <th>手机</th>
                <th>城市</th>
                <th>留言时间</th>
                <th width="160">申请说明</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="tags" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.mobile}</td>
                    <td>{$vo.country} - {$vo.province} - {$vo.city}</td>
                    <td> {:date('Y-m-d H:i',$vo['create_time'])}</td>
                    <td>
                        <a class="" onclick="doSelectCategory({$vo.id});" id="js-categories-name-input">查看</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="table-actions">
        </div>
    </form>
    <ul class="pagination">{$page|default=''}</ul>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    function doSelectCategory(id) {
        openIframeLayer("{:url('Liuyan/select')}?id=" + id, '申请说明', {
            area: ['700px', '400px'],
            btn: ['确定', '取消'],
        });
    }
</script>
</body>
</html>